﻿using EntityModel.PageListInfor;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace EntityModel.CommodityMent
{
    /// <summary>
    /// 商品属性表
    /// </summary>
    [Table("goods_attributes")]
   public class AikeApplet_goods_attributes: Pagination
    {
        /// <summary>
        /// 商品属性id
        /// </summary>
        [Key]
        public int id { get; set; }

        /// <summary>
        /// 店铺id
        /// </summary>
        public int shopId { get; set; }

        /// <summary>
        /// 商品id
        /// </summary>
        public int goodsId { get; set; }

        /// <summary>
        /// 属性名称id
        /// </summary>
        public int attrId { get; set; }

        /// <summary>
        /// 属性值
        /// </summary>
        [MaxLength(200)]
        public string attrVal { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime createTime { get; set; }
    }
}
